<!DOCTYPE HTML>
<html>
<head>
    <include file="Common:header_include"/>
    <title>编辑数据库更新</title>
</head>
<body>
<div class="pd-20">
    <form action="{:U('edit')}" method="post" class="form form-horizontal" id="form">
        <input name="id" value="{$data.id}" hidden="hidden">
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red">*</span>请选择表名：</label>
            <div class="formControls col-8">
                <span class="select-box">
                <select class="select Validform_error" size="1" name="name" datatype="*" nullmsg="请选择" onchange="selectTopMenu()">
                    <option value="" selected="" disabled="disabled">请选择</option>
                    <volist name=":getalltables()" id="v">

                        <option value="{$v}"   <if condition="$data['name']  eq  $v">selected</if> >{$v}</option>
                    </volist>
                </select>
                </span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red">*</span>数据库版本：</label>
            <div class="formControls col-8">
                <input type="text" class="input-text" placeholder="请输入" name="version" datatype="*" nullmsg="不能为空" value="{$data.version}">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-3"><span class="c-red"></span>描述：</label>
            <div class="formControls col-8">
                <textarea rows="6" cols="27" name="updatecontent"  autofocus="autofocus" style="resize: none" >{$data.updatecontent} </textarea>
            </div>
        </div>
        <div class="row cl">
            <div class="col-9 col-offset-3">
                <input class="btn btn-primary radius" type="submit" value="提交">
            </div>
        </div>
    </form>
</div>
<include file="Common:footer_include"/>
</body>
</html>